package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("Traveller")
public class Traveller implements Serializable {

    private static final long serialVersionUID = -7765520238291214865L;

    @XStreamAsAttribute()
    private String Type;

    @XStreamAsAttribute()
    private String Vip;

    @XStreamAsAttribute()
    private String Surname;

    @XStreamAsAttribute()
    private String GivenName;

    @XStreamAsAttribute()
    private String NativeGivenName;

    @XStreamAsAttribute()
    private String Gender;

    @XStreamAsAttribute()
    private String PSM;

    @XStreamImplicit(itemFieldName="Document")
    private List<Document> DocumentList;

    @XStreamAlias("InfantInfo")
    private InfantInfo InfantInfo;

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getVip() {
        return Vip;
    }

    public void setVip(String vip) {
        Vip = vip;
    }

    public String getSurname() {
        return Surname;
    }

    public void setSurname(String surname) {
        Surname = surname;
    }

    public String getGivenName() {
        return GivenName;
    }

    public void setGivenName(String givenName) {
        GivenName = givenName;
    }

    public String getNativeGivenName() {
        return NativeGivenName;
    }

    public void setNativeGivenName(String nativeGivenName) {
        NativeGivenName = nativeGivenName;
    }

    public String getGender() {
        return Gender;
    }

    public void setGender(String gender) {
        Gender = gender;
    }

    public String getPSM() {
        return PSM;
    }

    public void setPSM(String PSM) {
        this.PSM = PSM;
    }

    public List<Document> getDocumentList() {
        return DocumentList;
    }

    public void setDocumentList(List<Document> documentList) {
        DocumentList = documentList;
    }

    public com.jixiang.tracedata.model.traveller.InfantInfo getInfantInfo() {
        return InfantInfo;
    }

    public void setInfantInfo(com.jixiang.tracedata.model.traveller.InfantInfo infantInfo) {
        InfantInfo = infantInfo;
    }
}
